Vcenter Namespaces Instances VMServiceSpec

Vcenter Namespaces Instances VMServiceSpec
Vcenter Namespaces Instances VMServiceSpec

The Vcenter Namespaces Instances VMServiceSpec schema contains the specification required to configure the VM Service specification associated with a namespace.

This schema was added in vSphere API 7.0.0.0.

JSON Example
{
    "content_libraries": [
        "string"
    ],
    "vm_classes": [
        "string"
    ]
}
array of string
content_libraries
Optional

Set of Content Libraries for use by the VM Service. The Content Libraries specified should exist in vSphere inventory.

The Content Libraries specified for the VM Image Service, using {CreateSpec#contentLibraries} during POST /vcenter/namespaces/instances operation or {UpdateSpec#contentLibraries} during PATCH /vcenter/namespaces/instances/{namespace} operation or {SetSpec#contentLibraries} during PUT /vcenter/namespaces/instances/{namespace} operation will also be included in this list.

If the same Content Library is present both here and in VM Image Service specification, then:

  • The Content Library is only surfaced to users once.
  • The settings in VM Image Service specification are honored.

This property was added in vSphere API 7.0.2.00100.

This property is optional because it was added in a newer version than its parent node.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: com.vmware.content.Library. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: com.vmware.content.Library.

array of string
vm_classes
Optional

Set of VirtualMachineClasses for use by the VM Service. The class names specified here should exist in vSphere inventory. If this field is empty in an updated specification, all VirtualMachineClasses that are currently associated with the namespace will be disassociated from it.

NOTE: Any change in virtual machine classes associated with the namespace will not impact existing VMs.

This property was added in vSphere API 7.0.2.00100.

This property is optional because it was added in a newer version than its parent node.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.